package com.seanLab.domain;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by ailly on 17-9-25.
 */
@Document(collection = "editorFeedback")
public class EditorFeedback implements Serializable {
    @Id
    private String feedbackID;

    private String sessionID;
    private Date feedbackDate;
    private String feekbackIPAddr;
    private List<String> adoptedImgs;

    public EditorFeedback() {
    }

    public EditorFeedback(String feedbackID, String sessionID, Date feedbackDate, String feekbackIPAddr, List<String> adoptedImgs) {
        this.feedbackID = feedbackID;
        this.sessionID = sessionID;
        this.feedbackDate = feedbackDate;
        this.feekbackIPAddr = feekbackIPAddr;
        this.adoptedImgs = adoptedImgs;
    }

    public String getFeedbackID() {
        return feedbackID;
    }

    public void setFeedbackID(String feedbackID) {
        this.feedbackID = feedbackID;
    }

    public String getSessionID() {
        return sessionID;
    }

    public void setSessionID(String sessionID) {
        this.sessionID = sessionID;
    }

    public Date getFeedbackDate() {
        return feedbackDate;
    }

    public void setFeedbackDate(Date feedbackDate) {
        this.feedbackDate = feedbackDate;
    }

    public String getFeekbackIPAddr() {
        return feekbackIPAddr;
    }

    public void setFeekbackIPAddr(String feekbackIPAddr) {
        this.feekbackIPAddr = feekbackIPAddr;
    }

    public List<String> getAdoptedImgs() {
        return adoptedImgs;
    }

    public void setAdoptedImgs(List<String> adoptedImgs) {
        this.adoptedImgs = adoptedImgs;
    }
}
